<form id="myform" action="__APP__?g={:GROUP_NAME}&m={:MODULE_NAME}&a=set_user_role" method="post" class="form-horizontal">
	<div class="modal-header">
		<button type="button" data-dismiss="modal" aria-hidden="true" class="close">×</button>
		<h4 id="modal-responsive-label" class="modal-title">请选择您要授权的角色</h4>
	</div>
	<div class="modal-body">
		<div class="row">
			<div class="col-md-10 col-md-offset-1">
				<ul class="nav nav-stacked page-list">
					<volist name="list" id="vo">
						<li><label><input type="checkbox" name="roleid[]" value="{$vo.id}" <in name='vo.id' value="$roleIds">checked</in> />&nbsp;&nbsp;{$vo.name}</label></li>
					</volist>
				</ul>				
			</div>
		</div>
	</div>
	<div class="modal-footer">
		<input type="hidden" name="userid" value="{$userid}" />
		<button type="button" data-dismiss="modal" class="btn btn-default">取消</button>&nbsp;
		<button type="submit" class="btn btn-primary">保存</button>
	</div>
</form>